package com.caseProcess.service.impl;

import com.caseProcess.entity.VBeUrging;
import com.caseProcess.mapper.VBeUrgingDao;
import com.caseProcess.service.VBeUrgingService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class VBeUrgingServiceImpl implements VBeUrgingService {

    @Resource
    private VBeUrgingDao vBeUrgingDao;

    @Override
    public List<VBeUrging> selectVBeUrgings(VBeUrging vBeUrging){
        return vBeUrgingDao.selectVBeUrgings(vBeUrging);
    }

    @Override
    public List<VBeUrging> selectVBeUrgingByDepartmentOrTime(VBeUrging vBeUrging, String startTime, String endTime) {
        return vBeUrgingDao.selectVBeUrgingOrTime(vBeUrging, startTime, endTime);
    }
}
